package com.wxapp.admin.api.pojo.vm.role;

import com.wxapp.common.constant.base.IBaseResponse;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lgl
 * @Description
 * @Datetime 2022/8/5 15:23
 * @Modified By
 */
@Data
public class PBaseVm extends IBaseResponse implements Serializable {
    /**
     * 角色名称
     */
    @Schema(description = "角色code", requiredMode = Schema.RequiredMode.REQUIRED)
    private String code;
    /**
     * 角色名称
     */
    @Schema(description = "角色名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String roleName;

    /**
     * 显示顺序
     */
    @Schema(description = "显示顺序", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer roleSort;

    /**
     * 角色状态（0正常 1停用）
     */
    @Schema(description = "角色状态（0正常 1停用）", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean work;
    /**
     * 角色状态（0正常 1停用）
     */
    @Schema(description = "角色状态（1可编辑 0不可编辑）", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean edit;
    /**
     * 备注
     */
    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED)
    private String remark;
}
